﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WidgetsDesign.API.Models
{
    public class CraneOperationModel
    {
        /// <summary>
        /// 主键 ID
        /// </summary>
        [Key]
        public string? Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string? NoNumber { get; set; }
        /// <summary>
        /// 申请单位
        /// </summary>
        public string? ApplicantCompany { get; set; }
        /// <summary>
        /// 作业申请时间
        /// </summary>
        public DateTime? ApplyTime { get; set; }
        /// <summary>
        /// 作业区域管理单位
        /// </summary>
        public string? HomeworkAreaManagementUnit { get; set; }
        /// <summary>
        /// 属地监督
        /// </summary>
        public string? TerritorySupervisor { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public string? Proposer { get; set; }
        /// <summary>
        /// 监护人
        /// </summary>
        public string? Guardian { get; set; }
        /// <summary>
        /// 作业地点
        /// </summary>
        public string? WorkLocation { get; set; }
        /// <summary>
        /// 工作内容
        /// </summary>
        public string? JobContent { get; set; }
        /// <summary>
        /// 作业人
        /// </summary>
        public string? Operator { get; set; }
        /// <summary>
        /// 管理编号
        /// </summary>
        public string? AssociationOn { get; set; }
        /// <summary>
        /// 吊装指挥及操作证
        /// </summary>
        public string? LiftingCertificate { get; set; }
        /// <summary>
        /// 起重机械操作人员及操作证
        /// </summary>
        public string? CraneCertificate { get; set; }
        /// <summary>
        /// 起重机械名称
        /// </summary>
        public string? StartMachineryName { get; set; }
        /// <summary>
        /// 吊物内容
        /// </summary>
        public string? LiftingObjectContent { get; set; }
        /// <summary>
        /// 吊物质量
        /// </summary>
        public string? LiftingObjectMass { get; set; }
        /// <summary>
        /// 作业内容（说明是否附图等）
        /// </summary>
        public string? JobContent1 { get; set; }
        /// <summary>
        /// 是否编制方案
        /// </summary>
        public string? IsPlanCompiled { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 存在的风险
        /// </summary>
        public string? ExistingRisk { get; set; }
        /// <summary>
        /// 作业等级
        /// </summary>
        public string? JobGrade { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? State { get; set; }
        /// <summary>
        /// 安全措施
        /// </summary>
        public string? SafetyPrecautions { get; set; }
        /// <summary>
        /// 交底签字
        /// </summary>
        public string? SignatureDisclosure { get; set; }
        /// <summary>
        /// 作业方申请
        /// </summary>
        public string? OperatorApplication { get; set; }
        /// <summary>
        /// 作业监护监督
        /// </summary>
        public string? JobMonitoring { get; set; }
        /// <summary>
        /// 批准
        /// </summary>
        public string? Ratify { get; set; }
        /// <summary>
        /// 相关方
        /// </summary>
        public string? Stakeholder { get; set; }
        /// <summary>
        /// 编制人
        /// </summary>
        public string? Organizer { get; set; }
        /// <summary>
        /// 取消或者关闭
        /// </summary>
        public string? CancelorClose { get; set; }
        /// <summary>
        /// 附表ID
        /// </summary>
        public string? ScheduleId { get; set; }
        /// <summary>
        /// 附表内容
        /// </summary>
        public string? ScheduleContent { get; set; }
    }
}
